Skip to content

Conversation

@apiest-pon
Copy link
Collaborator

No description provided.

@apiest-pon apiest-pon changed the base branch from main to feature/initial April 15, 2022 11:01
}

get ttl () {
return this.#stdTTL
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stdTTL seems like a fixed value?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can set it in the constructor

this.#foundSemaphore = false
return true
}
return this.checkSemaphore()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why recursion?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could rewrite to while(true) loop with a break, but this seemed better controllable

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do need to convert to while loop

Base automatically changed from feature/initial to main April 15, 2022 12:10
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

98.7% 98.7% Coverage
0.0% 0.0% Duplication

@apiest-pon apiest-pon requested review from denverweij-pon and lukepon and removed request for bjanssen-pon October 17, 2022 08:23
@apiest-pon apiest-pon self-assigned this Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants